var wxParse = require("../wxParse/wxParse.js");
var api = require('../../../config/api.js');
var util=require('../../../utils/util.js');
Page({
  /**
   * 生命周期函数--监听页面加载
   */

  onLoad: function (option) {
    var that = this;
    util.request(api.ArticleUrl, { art_id: option.id}).then(res=>{
      if (res.data.code == 200) {
        wxParse.wxParse('content', 'html', res.data.data, that, 5)
      }
    })
    
  }
})
